//
//  SCRefundGoodsCell.m
//  shangcheng
//
//  Created by 张艳江 on 2019/6/11.
//  Copyright © 2019 张艳江. All rights reserved.
//

#import "SCRefundGoodsCell.h"

@implementation SCRefundGoodsCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.goodsImage.contentMode = UIViewContentModeScaleAspectFill;
    self.goodsImage.clipsToBounds = YES;
}
- (void)setModel:(SCModel *)model{
    _model = model;
    [self.goodsImage sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",Goods_ImageURL,model.wap_pic]] placeholderImage:[UIImage imageNamed:@""]];
    self.priceLab.text = [NSString stringWithFormat:@"%@福豆",model.payment_pure_integral];
    self.goodsNameLab.text = model.gift_name;
    self.numLab.text = [NSString stringWithFormat:@"x%@",model.num];
    self.specsLab.text = model.specification;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
